package com.cens.mall.commodity.feign;

import com.cens.common.utils.R;
import com.cens.mall.commodity.vo.SkuHasStockVo;
import org.apache.ibatis.annotations.Param;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestParam;

import java.util.List;

@FeignClient("mall-ware")
public interface WareFeignService {
    @PostMapping("/ware/waresku/hasStock")
    R getSkusHasStock(@RequestParam("skuIds") List<Long> skuIds);
}
